home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
FROMUTS
/
UNIXLIB37B
/
test
/
c
/
allocatest
next >
Wrap
Text File
|
1992-02-10
|
243b
|
22 lines
#include <stdlib.h>
#include <time.h>
#include <stdio.h>
#include "alloca.h"
#define ASIZE 2048
int main()
{
int *b;
register int i;
srand(time(0));
b = alloca(ASIZE);
for (i = 0; i < (ASIZE>>2); i++) b[i] = rand();
printf("%x\n",b);
}